﻿using SqlSugar;
using System;

namespace NetCore.Model.Enity
{
    /// <summary>
    ///
    ///</summary>
    [SugarTable("sys_log")]
    public class SysLog
    {
        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "BeginDate")]
        public DateTime? BeginDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "BrowserType")]
        public string BrowserType { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ElapsedTime")]
        public int? ElapsedTime { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "EndDate")]
        public DateTime? EndDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ExceptionInfo")]
        public string ExceptionInfo { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "LogType")]
        public string LogType { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "RequestParameter")]
        public string RequestParameter { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ResponseParameter")]
        public string ResponseParameter { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Role_Id")]
        public int? RoleId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ServiceIP")]
        public string ServiceIP { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Success")]
        public int? Success { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Url")]
        public string Url { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "UserIP")]
        public string UserIP { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "UserName")]
        public string UserName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "User_Id")]
        public int? UserId { get; set; }
    }
}